package com.feri.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feri.shop.entity.OrderPay;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface OrderPayDao extends BaseMapper<OrderPay> {
    @Update("update t_order_pay set flag=#{f},utime=now() where id=#{id}")
    int updateFlag(@Param("f") int f,@Param("id") long id);
}
